package com.csun.nusing.bean.jsonbean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/26.
 */

public class AllDeviceSleepDeviceJsonBean {

    /**
     * status : true
     * message : 查询成功
     * data : {"pageNo":1,"pageSize":10,"totalCount":4,"totalPageNum":1,"list":[{"id":1,"createTime":1505988803000,"deviceNo":"18686000000","deviceType":2,"Valid":1,"Modifier":10001,"deviceInfo":"智能床垫","modifyTime":1505988803000,"homeId":10001},{"id":6,"createTime":1507544079000,"deviceNo":"SFY-001ｊｙｄｊ","deviceType":2,"Valid":1,"Modifier":10000,"deviceInfo":"随访仪","modifyTime":1507544079000,"homeId":10001},{"id":11,"createTime":1508222229000,"deviceNo":"测试-03","deviceType":2,"Valid":1,"Modifier":10001,"deviceInfo":"床垫","modifyTime":1508222229000,"homeId":10001},{"id":21,"createTime":1508989051000,"deviceNo":"45254.kuku","deviceType":2,"Valid":1,"Modifier":10000,"deviceInfo":"","modifyTime":1508989051000,"homeId":10000}]}
     */

    private boolean status;
    private String message;
    private SleepDeviceDataBean data;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public SleepDeviceDataBean getData() {
        return data;
    }

    public void setData(SleepDeviceDataBean data) {
        this.data = data;
    }

    public static class SleepDeviceDataBean {
        /**
         * pageNo : 1
         * pageSize : 10
         * totalCount : 4
         * totalPageNum : 1
         * list : [{"id":1,"createTime":1505988803000,"deviceNo":"18686000000","deviceType":2,"Valid":1,"Modifier":10001,"deviceInfo":"智能床垫","modifyTime":1505988803000,"homeId":10001},{"id":6,"createTime":1507544079000,"deviceNo":"SFY-001ｊｙｄｊ","deviceType":2,"Valid":1,"Modifier":10000,"deviceInfo":"随访仪","modifyTime":1507544079000,"homeId":10001},{"id":11,"createTime":1508222229000,"deviceNo":"测试-03","deviceType":2,"Valid":1,"Modifier":10001,"deviceInfo":"床垫","modifyTime":1508222229000,"homeId":10001},{"id":21,"createTime":1508989051000,"deviceNo":"45254.kuku","deviceType":2,"Valid":1,"Modifier":10000,"deviceInfo":"","modifyTime":1508989051000,"homeId":10000}]
         */

        private int pageNo;
        private int pageSize;
        private int totalCount;
        private int totalPageNum;
        private List<SleepDeviceListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getTotalPageNum() {
            return totalPageNum;
        }

        public void setTotalPageNum(int totalPageNum) {
            this.totalPageNum = totalPageNum;
        }

        public List<SleepDeviceListBean> getList() {
            return list;
        }

        public void setList(List<SleepDeviceListBean> list) {
            this.list = list;
        }

        public static class SleepDeviceListBean {
            /**
             * id : 1
             * createTime : 1505988803000
             * deviceNo : 18686000000
             * deviceType : 2
             * Valid : 1
             * Modifier : 10001
             * deviceInfo : 智能床垫
             * modifyTime : 1505988803000
             * homeId : 10001
             */

            private int id;
            private long createTime;
            private String deviceNo;
            private int deviceType;
            private int Valid;
            private int Modifier;
            private String deviceInfo;
            private long modifyTime;
            private int homeId;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getDeviceNo() {
                return deviceNo;
            }

            public void setDeviceNo(String deviceNo) {
                this.deviceNo = deviceNo;
            }

            public int getDeviceType() {
                return deviceType;
            }

            public void setDeviceType(int deviceType) {
                this.deviceType = deviceType;
            }

            public int getValid() {
                return Valid;
            }

            public void setValid(int Valid) {
                this.Valid = Valid;
            }

            public int getModifier() {
                return Modifier;
            }

            public void setModifier(int Modifier) {
                this.Modifier = Modifier;
            }

            public String getDeviceInfo() {
                return deviceInfo;
            }

            public void setDeviceInfo(String deviceInfo) {
                this.deviceInfo = deviceInfo;
            }

            public long getModifyTime() {
                return modifyTime;
            }

            public void setModifyTime(long modifyTime) {
                this.modifyTime = modifyTime;
            }

            public int getHomeId() {
                return homeId;
            }

            public void setHomeId(int homeId) {
                this.homeId = homeId;
            }
        }
    }
}
